package com.lanou.service.impl;

import com.lanou.mapper.CrmCourseTypeMapper;
import com.lanou.service.CourseTypeService;
import com.lanou.utils.AjaxResult;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by dllo on 18/4/17.
 */
@Service
public class CourseTypeServiceImpl implements CourseTypeService {
    @Resource
    private CrmCourseTypeMapper crmCourseTypeMapper;

    /**
     * 学科信息
     *
     * @return
     */
    @Override
    public AjaxResult selectAllInfo() {
        return AjaxResult.getOK(crmCourseTypeMapper.selectAllInfo());
    }
}
